<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form name="form1" method="post" action="upload_image_todb.php" enctype="multipart/form-data">

    <p>图片：<input type="file" name="photo"></p>

    <p><input type="hidden" name="action" value="add"><input type="submit" name="b1" value="提交"></p>

</form>
</body>
</html>






